package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.toolbox.util.DateUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author long.rao
 * @version v1.0
 * @date 2019/2/1 15:03
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class WorkReportCcEntity implements Serializable {
    private static final long serialVersionUID = -4001712950929456614L;
    /**主键*/
    private Long id;
    /**公司ID*/
    private String corpid;
    /**员工ID*/
    private String userId;
    /**工作汇报ID*/
    private Long reportId;
    /**抄送人姓名*/
    private String userName;
    /**添加时间*/
    private Long addTime;
    /**更新时间*/
    private Long updateTime;
    /**删除标记*/
    private Integer del;

    public WorkReportCcEntity() {
        long now = DateUtil.getInt();
        this.corpid = "";
        this.userId = "";
        this.reportId = 0L;
        this.userName = "";
        this.addTime = now;
        this.updateTime = now;
        this.del = 0;
    }
}
